{% extends "books/base_site.html" %}

{% block content %}
	{% if book_list %}
    	<table width="100%" cellpadding="5" cellspacing="0" class="booklist">
    			{% include "books/includes/book_list_head.html" %}
    		<tbody>
    			{% for book in book_list%}
    				{% include "books/includes/book_item.html" %}
    			{% endfor %}
    		</tbody>
    	</table>
    	{% include "books/includes/book_list_foot.html" %}
	{% else %}
    	<p>No books are available.</p>
	{% endif %}
{% endblock %}
